<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<!-- <script type="text/javascript" src="js/jquery-3.4.1.min.js"></script> -->
</head>
<body>

	<h2>传统方式文件上传</h2>
	
	<a href="file/test">测试。。。。</a>
	<br><br>
	
	<form action="file/fileupload" method="post" enctype="multipart/form-data">
		<input name="file1" type="file"><br><br>
		<input type="submit" value="上传文件">
	</form>

	<h2>springmvc方式文件上传</h2>

	
	<form action="file/testFileUpLoadingSpringMVC" method="post" enctype="multipart/form-data">
		<input name="file2" type="file"><br><br>
		<input name="text2" type="text"><br><br>
		<input type="submit" value="上传文件">
	</form>

</body>
</html>